home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / cms_help_files / shdf.helpmark < prev    next >
Text File  |  1991-10-23  |  3KB  |  78 lines

  1. +-----------------------------------------------------------------------------+
  2. |                               subheaddformat                                |
  3. +-----------------------------------------------------------------------------+
  4.  
  5. \subheaddformat{\numberingstyle{1}
  6.   \titleformat{\goodbreak
  7.              {\twelvept
  8.                \it\subheaddtitle.}
  9.     \incontents{no}
  10.    }
  11.  
  12. Abbreviation:  π|\shdfπ%
  13.  
  14. Parameters:    π|submarkupπ%
  15.  
  16. Submarkup:     π|\numberingstyle, \titleformat, \incontentsπ%
  17.  
  18.     π|Description:π%
  19. The \subheaddformat markup lets  you change the appearance of the subheading
  20. title.   There  are three  submarkup that  control how  the \subheadd  is to
  21. appear.
  22.  
  23. π|\numberingstyleπ%  by default  is 1  which will  print the subhead  number in
  24. Arabic numbers.   Other possibilities  are "A" and "I".  By default, subhead
  25. numbers are not printed, even though the \subheaddnumber is incremented.
  26.  
  27. π|\titleformat{Nested Markup}π%  is used to  describe how the  subhead title is
  28. to  be printed.    You  may use  markup such  as  \newpage, \removelastskip,
  29. \goodbreak,  \nobreak, \verticalspace,  and \centerline  within \titleformat
  30. as  Nested  Markup.     Other  markup  you  may  use within  or  outside  of
  31. \subheaddformat:
  32.  
  33.   * \subheaddnumberprints the most recent subheadd number.
  34.  
  35.   * \subheaddtitleprints the most recent subheadd title.
  36.  
  37. π|\incontentsπ% places the subheadd  title in the contents (if one is printed).
  38. By default, the title is not  placed in the contents.  Printing in the table
  39. of contents can be included by changing to "yes":
  40.  
  41. \shdf{\incontents{yes}}
  42.  
  43.     π|Example:π%
  44. If you wanted a subhead to  place the title in a lable, you would modify the
  45. \subheaddformat:
  46.  
  47. \subheaddformat{\numberingstyle{1}
  48.   \titleformat{\removelastskip\goodbreak\vs{2\bl}
  49.        \label{\subheaddtitle}
  50.        }
  51.   \incontents{no}
  52. }
  53.  
  54. more realistic.
  55. \subheadd{Nationalism and War}
  56. Nationalism is directly related to war.
  57. Lord Acton observed that the increase in nationalism
  58. significantly increases a country's ability to
  59. protect itself . . .
  60.  
  61. The fourth subheadd would print as:
  62.  
  63. +-----------------------------------------------------------------------------+
  64. |                                                                             |
  65. | more realistic.                                                             |
  66. |                                                                             |
  67. |                                                                             |
  68. |                                                                             |
  69. | Nationalism                                                                 |
  70. | and War    thatonthesmincreaseeinlynationalism  significantlyctincreasesea  |
  71. |            country's ability to protect itself . . .                        |
  72. |                                                                             |
  73. +-----------------------------------------------------------------------------+
  74.  
  75.     π|Notes:π%
  76. The \subheaddformat  markup must come  after the \monospace  markup, if both
  77. are used.
  78.